package zdy.web.bean;

public class book{
    private String name;
    private int price;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getPrice() {
        return price;
    }
    public void setPrice(int price) {
        this.price = price;
    }
    public book() {

    }
    public book(String name,int price) {
        this.name = name;
        this.price = price;
    } 
    @Override
    public String toString() { 
        return "name:" + name +"; price:" + price;
    }

}

